package test;

import cn.com.edu.nju.ecrec.model.UserInfo;
import cn.com.edu.nju.ecrec.rec.Bayesian;
import cn.com.edu.nju.ecrec.rec.BayesianWithCluster;

public class testBayesian {
	public static void main(String[] args) {
		UserInfo ui = new UserInfo();
		ui.setBrowser("MSIE");
		ui.setCountry("Greece");
		ui.setPlatform("Win32");
		ui.setUserLanguage("en-us");
		Bayesian bys = new Bayesian(ui);
		//BayesianWithCluster bys = new BayesianWithCluster(ui);
		long[] recPid = bys.recommand();
		for(long pid : recPid)
			System.out.println(pid);
	}
}
